function co()

	print("123")

end
coroutine1=coroutine.create(co)
coroutine.resume(coroutine1)

func2=function()
i=1
	while true do 
i=i+1
		print(i)
		coroutine.yield(i)

	end
end
co3=coroutine.create(func2)

coroutine.resume(co3)
coroutine.resume(co3)
isok,re=coroutine.resume(co3)
print(isok,re)

sta=coroutine.status(co3)
print(sta)